﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace WaterRevenueMS.Componnent.Tools
{
    [Serializable]
    public abstract class EntityBase<TKey>
    {
        protected EntityBase()
        {
            IsDeleted = false;
        }

        [Key]
        public TKey Id { get; set; }
        public bool? IsDeleted { get; set; }
    }
}
